Fix #810 cursor line