Fixed changing yaw to changed pitch when using setPitch function