I believe in godot you can help it a little bit by making the collisionshapes thinner but when I had this issue the only way I could solve it was by dynamically toggling them with respect to player position through code.