Fixed another gimbal lock problem