Fix hiding of sidebar loading indicator