Minor bugfix for Firefox

Updated with bugfix for Firefox