Can you test another wireless mouse or use your existing mouse on another computer?
Narrow down to mouse or computer.
If mouse, might be a bad contact in the mouse. May not "hold" the selection.
Could also be due to a weak wireless signal.
Have you ever changed the battery in the mouse? Even if so, try a new fresh battery.
Many common batteries go weak very fast nowadays.