Grid fix for Firefox