Fix layout issues for firefox.