Adjusted _setMapDiv

_setMapDiv now compensates for a long body content, which
previously caused broken resizing.