Fixed rotateAround function.