fix mapwidget for embedded maps