[Animation] Fixed problem with loading animations in Firefox