fixed animation on firefox
fixed in Firefox