Fix problem with Firefox.