Bugfix for FireFox