Attempt to fix download popup weird behavior