core.view: fix autoscroll bug