Fix fading effects across different browsers