Do not refresh windows if it's hidden