[DF-3525] correct cursor position processing