Fixed bug on Firefox where gifs where not animated (sometimes)
To be confirmed.