Add workaround for Firefox 20