Prevent crashing after setShowsInfiniteScrolling:NO twice

Related issue #166