Improve documentation on getCursorPos and fix cursorInControl

For #180