AnimatedSprite improvements