I tried walking outside the map, and I was able to do it, so maybe you can add some invisible walls to prevent the player to do so. (If there are walls already, check their locations).
I think, just that... I didn't encounter other bugs / glitches.
haha thats so dumb i will fix it