Fixed remaining bugs from R_RotateForEntity.