emulation: Fix cursor backward movement

(broken since commit 60c0bca2f00cd55ea1eb42fd59fa017b62197c9d)