Detect template screenshots; Screenshots are blank

The frontend of a site has a fade in animation. As a result, all of the template screenshots are blank. The effect is applied to body:not(.error404, [data-builder-window="iframe"]), which works great to avoid it in the builder. But the screenshots do not use this attribute. How can I detect the screenshot is being generated?