fix to rotate yaw pitch roll for scaled 3D objects. Closes #626