Fixing getCursorFromPoint.