Fix a bug where the entire map wasn't being drawn