Fix display issue when data source is empty after view did load