fixed rotation and clipped degrees larger than -360 or 360