Fix loading animation while browsing tree