Fix issue where content would not be shown until user scrolls the view