Moved the sprite into the animation state.