Fixed error in drawSpriteRotated