fixed rotation bug, rotation is now done around the center of a sprite