Something is off when you rotate and then rotate the other direction... not sure what.

inconsistency between move and transformations perhaps... otherwise, really close to solution.

Try rotating 1, 2, or 3 times in one direction, other rotations are off, when you are back to canonical, everything is fine...