Fix for Firefox 25