Fix rotation angles.