fix Sprites bug