Made SimpleAnimatedSprite independent.