I noticed that the problem doesn't happen on microsoft edge, it may only happen on firefox. My ff version is 108.0.1 if that helps any. Not sure about chrome.
Sorry i really have no idea what could cause your mouse issue :(
I tested on Firefox and Chrome and it worked fine, so i couldn’t even try to recreate the same bug you had. Cool that it seemed to work on Edge at least.