Invisible walls = lazy world design. If they've spend more time, they could put a real wall/cliff at the "can't go off the map" point.