Fixes NPE in smoothScrollToPosition* methods