Removed the bug where the widgets disappear after scrolling in the view.