fix cursor move

https://aiit.backlog.jp/view/2014YC-121