Stop ☆ tiles from overlapping × tiles?

Hey forum,
I was wondering if I could stop this:
Tiles marked with a ☆ overlaps × tiles even though it does not appear this way in the map editor

Screenshot from the map editor:
Spoiler
7FPfTPD.png

Screenshot from in-game:
Spoiler
WSN0O2L.png

Much thanks in advance,
No, that is how the passability settings work. Why map the railing back there in the first place if it won't be seen? Then you won't have to worry about them showing over the roof.
Pretty map anyhowbut yeah try what @mlogan said.
No, that is how the passability settings work. Why map the railing back there in the first place if it won't be seen? Then you won't have to worry about them showing over the roof.
You raised a good point, thank you very much for the quick answer!
@Zorenic
And here is some additional info:
The editor has two upper layers and displays the tiles in the order they're placed.
However, if one of the two tiles has star and the other not, the engine can reverse that order to follow the star rules.

Because that is the only purpose of the star passability: it tells the engine that this tile needs to always be on the top.
So if you don't want a tile to be on top, then give it a different passability.

That said, as mlogan explained, because of the limited number of layers you should never map something that isn't supposed to be seen. If you had for example placed a chimney there, the railing would have been deleted anyway because only two B-E tiles are allowed at any map position and by placing a third the first one gets overwritten.
@Zorenic
And here is some additional info:
The editor has two upper layers and displays the tiles in the order they're placed.
However, if one of the two tiles has star and the other not, the engine can reverse that order to follow the star rules.

Because that is the only purpose of the star passability: it tells the engine that this tile needs to always be on the top.
So if you don't want a tile to be on top, then give it a different passability.

That said, as mlogan explained, because of the limited number of layers you should never map something that isn't supposed to be seen. If you had for example placed a chimney there, the railing would have been deleted anyway because only two B-E tiles are allowed at any map position and by placing a third the first one gets overwritten.
This is pretty handy information for MV maker cats.
Because that is the only purpose of the star passability

Star passability also indicates to the engine that it should look at the tiles on the next layer down for the passage settings.

Original thread: https://forums.rpgmakerweb.com/threads/stop-tiles-from-overlapping-x-tiles.97081/