fixed onMouseUp ordering to preserve selectStart and selectStop