Encoder correctly controls cursor position