Fix loading indicator displaying