Fixed a Firefox bug