Fix CSS animation.