Fix a blocking bug with Firefox