Fix for Firefox