Corrected EditorPanel's SetCursor; it did not take
account of the vertical scrolling offset, which has to be subtracted from the
buffer position to give the correct position within the text window.