Firefox CSS compatibility fixes