Tileset Terrain doesnt work as expected

Godot Version

v4.4.1.stable.steam [49a5bc7b6]

Question

I have a terrain-set with two terrain setups:



When i try to draw the “green” terrain (called “floor”) it draws the upper-terrain eventhough none of the tiles have the center bit set to “floor/green”:

(all tiles here have been drawn with “floor”)

Ive also had other oddities when it comes to pattern matching of the terrains.

main question:

Is this a known bug in Godot or am i understanding something wrong

other question:

i cant seem to find the way how godot matches the patterns in the documentation. does anybody know where i can find more information on the terrain pattern matching because it doesnt work the way i expect it to