Fix loading indicator (issue #3836)