Each side of these walls can be visible independently. So, both halves are drawn. There wasn‘t enough space to handle this case. I‘m sure there is a solution, I just didn‘t find it 😁
I didn't plan it this way. I built it as a regular program, and when it was done, I was suprised that the code was only about 4 pages long. So I tried to see if it can fit :-)