fixed crash resulting from overscrollmode change