Apply reference frame rotations when transforming positions