Fix loadingBar hiding when disableAutoFetch is enabled (issue 3590)

This is an attempt to fix #3590.