Fix loading screen when list is empty