Fixed a couple of firefox layout bugs