Fix loading bar displaying