When exporting in Pen display mode Hatch shows behind wall

Hello, when exporting my drawing in Rhino 8 a hatch shows up behind a wall. When I export it in a raster this disapears. However I want to export it as a vector to later modify it in Adobe programs. When using a normal view nothing is wrong only when exporting, does someone know how to fix this. Maybe by changing something in the export options.

Dag Pieter -

Could you export a few of the involved objects into a new 3dm file and post that here so that we can try to diagnose the issue?
Also, please run the Rhino SystemInfo command and copy-paste its output here.
-wim