Fix rotation calculations for Blender rotations on Z axis.