fixed falsy animation bug in animationcontroller