restore emacs screenToTextCoordinates