It looks like a bug to me. I could easily reproduce it in Archicad 24.
I will report it to Graphisoft.
Unfortunately, I cannot recommend any good workaround besides drawing above the walls with a Fill to achieve the desired 2D representation.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD 2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27