fix the scaling of the rotation transform