Fixed crashing while completing the selection, can finish selection without clicking on the initial point
Ref T10894