Fix display of loading bar