Bugfixes for animations.