I have this happen with Driller where the drill stops even when I am still holding down left click. Haven't noticed it with scout yet but will try this out. Thanks!
If you're really into electronics/DIY, you could look at replacing the switches in your mouse. (or just trying something like contact cleaner) There are quite a few tutorials, so there's a relatively good chance you will find one which tells you how to take apart your specific mouse. I wouldn't attempt this if it is your only mouse, but if you're already considering replacing it then you aren't really worried about breaking your mouse. https://www.youtube.com/watch?v=9jpotpIO1-U was helpful for explaining how to desolder through-hole components. And maybe look up some guides on soldering techniques. (don't want cold solder joints).
Other than that, I've seen people say they've used Auto Hotkey to fix the issue, some games have a very strict anti-cheat policy though so you may want to make sure a simple script adjusting debounce timings won't cause you any issues. Also don't go running code found on the internet unless you're sure about what it does.