Fix for rotateAround with looping