Added SetCursorOnPosition method