Fix fading in Firefox