Fix the display bug in Firefox.