DoRotate fix