Fixed bug that no loading indicator was visible