On a new MacBook Pro M1 running Monterey. Quite often, when I move my mouse toward some windows on max size (not full screen) such as the browser (Firefox) or the Mail app, the window suddenly gets smaller just by itself. It happens several times a day and it's going on since a couple of months.
How do I stop it?