Isometric tilemap overlapping tiles

So I’m making a wall on an isometric tilemap. I want the wall to have some thickness and leave room for the floor tile. I made a sprite that should overlap when two tiles are next to each other, and that is placed just on the side of the tile.
The tilemap sort order is “Bottom Right”.

7875676--1001326--wall_left.png

It somewhat works, but for some reason on a specific “diagonal” the walls are rendered in the wrong order and the overlap fails.

This failed diagonal repeats itself every 32 tiles.

Does someone know how I can fix it ?
Is my approach of making these “overlapping” tiles valid ?

Is a character supposed to be able to walk in front and behind that wall? If so, then you should switch to Individual mode on your TilemapRenderer. Chunk mode is the source of the problem. By default its size is 32 iirc. Chunk is good for rendering stuff like floors, not walls or pillars - which need to sort against characters.

No there won’t be a character behind the wall, it will only be rendered as a background. I tried to switch the TilemapRenderer mode to Individual anyway and it does not fix the problem (same render).