Fixed loading data UI bug