Fixed progress bar while scanning.