Fixed display bugs in Firefox.