Okay. Thanks again for the feedback. I'm gonna update my engine to allow for swept AABB collision detection. That should fix the issue. Having better performance would have probably fixed it as well.
Viewing post in Yogdungeon escape jam comments
I already made an update that should prevent the player from glitching out of the map. I cheated a bit though. I made the bounding boxes of the walls much bigger. So they expand outside the screen
The canvas now also scales to the window size while keeping the aspect ration making the game always full screen. Or at least full window.