Fixed some Sprite bugs