Fix progress window not updating