Fixed the sprite classes