fix broken creation of the map container panel