Fix deleted pointer access (getPosition, getRotation)