Fix loading indicator

Fix #753