Fixed bug that prevented proper map display.