Correct mouse cursor in emacs.