Help fixing Out Of Bounds Clip

When the player glides in my game their hitbox shrinks to give them more clearance with the ground. The problem is, when they land then it expands again putting it part-way through the floor. If this happens while at the seam between two rooms they get pushed through the floor. Somehow, the collision detection is seeing that, because of the seam, downwards is a valid place to send the player, but how can I make the collision default to, if the player is colliding with the ground, always try to send them up? because this isn’t a thing I see being reproducible on the ceiling that should hopefully be okay.
(oh, btw this is 3D in case that’s helpful and you didn’t see the tag)

i’d say that if you are expanding the hitbox you would also want to apply a bit of upwards velocity to your character; or perhaps tween the expansion of the hitbox a bit so the difference is never to suddent to possibly cause a difference in the collision detection.

there is collision priority on bodies, set it to high value like 10000 for level geometry, it should help.