Fix problem with Firefox with the proper solution