GitHub #135: Fix cursor position problems with label edit