Get rid of useless hidden mainwidget