See if https://developer.mozilla.org/en-US/docs/Web/API/Element/checkVisibility helps performance. We'd need to polyfill this internally if not available since JSDOM may not implement that method. Keep in mind that we'd need to run with `visibilityCheck` but without `opacityCheck`