Fix window going out of focus when asset analyzing completes