bugfix redraw map on resize