When using the FramelessWindowHint window flag on a QMessageBox the OK-button becomes unclickable sometimes and thus freezes the whole GUI. This behavior is unpredictive and