Use Main Window for drawing Map instead of useless child window.