Fixed an animation issue.