Fixed loading screen animation for Firefox