Updated StateManager usage of Animator.