Fixed a sprite bug