Fixed mapdisplay bug