Final tweak to resizeMap()