Window being maximized while holding title bar
Is it possible you're double-clicking as you hold the window, whether through click input or your mouse having a hardware issue? Double-clicking a window title bar will zoom the window.

You can disable this behaviour in in System Preferences → Dock → Double-click a window's title bar to zoom.