Add reset animator only when animation is enabled.

Close #1319.