Better fix to the progress page flashing issue