Duplicating objects does not preserve their position