fix QWidget::activateWindow for child widgets