Map resize: bug correction