Fixed ProgressBar not disappearing when switching from portrait to
landscape mode or visa versa.