Fixes css bugs for Firefox