Fixed rotation of sprite problem