fixes fadeouts on firefox