Fog fix for Firefox