Fixed crash when the listview has footerViews