Fixed the pitch and yaw issues.