AnimationController bug fix.