Fix for map height bug