Fixed Firefox animations.