forcibly constrain rotation angle 0 <= theta < 360°