Fixed a bug where the map was not being shown properly.