Double-clicking Search field in Outlook to select all text maximises window

When searching in Outlook for Mac (version 16.71.1 (23031800), if I try to double-click the search field to select all text, the window maximises.

If I disable BetterSnapTool, double-clicking the search field correctly selects all text without maximising the window.

14-inch, 2021 MacBook Pro M1 Max
Ventura 13.3.1
BetterSnapTool version: 1.9.8