[qtdeclarative] Avoid deadlock during window hiding.