And yes, the intention was to encounter a wall when you reach the edge of the map grid.
Thank you for clarifying! Good luck with any future projects.