CollisionPolygon2D + one way collision issue

Godot Version

4.3

Question

I’m trying to have one way collision with CollisionPolygon2D but it turns out that each “triangle” that makes up the collision polygon ends up having it’s own collision so if you for example jumped through the block you could land on a line inside the collision polygon. I made a video to easier visualise what I mean. Does anyone know how to make it only care about the outer lines around the polygon? setting the property build mode to segments on the collision polygon does not help as that also makes you land on the inside.