Fixed a bug in the map menu