Fixed Sprite.py bug with animations