Fix issue with QWidgets blocking UI

Refs #9968