fixed bug in rotations with not updating rootNode