nullp fix in BasicView for scrollbar