fixed a small bug where cursor iter is not transmitted to check_scroll