Sprites, fixed some bugs