Fixed bug switching between map and menu. After disposing the map the children were removed.