Fix loading-caption show and hide