Workaround for Firefox 25 alpha2