How to place cursor on same line when selecting a line by double clicking

When a line is selected by triple clicking on a word on a line, the cursor moves to the next line. This is visible when the option showCursorWhenSelecting is set to true. I expected the cursor either to be on the point where the click happened or at the end of the line.

Is it possible to set the cursor at the point where the click happened or the end of the current line? I think showing the cursor on the next line when the user clicks on a line is distracting

When an entire line (including its newline) is selected, the cursor can’t be somewhere inside that selection, it has to be at the end.