fixed a layout bug in Firefox