Made the initial drawing of the map work correctly.