Fix a bug where an animating activity indicator would reappear on view load.