updateCursor now sets the new mouseOnSelection variable, not selectionResizing
updateCursor now sets the new mouseOnSelection variable, not selectionResizing
implement the selection resizing