Fixed an animation issue