Fix for Firefox 20