fixed incorrect return value from SetScrollingState().