Fixed a problem with certain maps.