Fixing Firefox layout issues