I actually had a really similar problem in my game and another I made. What I did was in the game scene, I added a staticbody2d node with the new world boundary shape to each side in the collissionshape2d node attached to that one.
Yeah that makes total sense. You could even put in a little rebound to push you a little bit away from the edge.