Fixed further firefox display bugs

See #1090