Fix walking off the map, and drawing the map on a small screen.