Turn off System Settings -> Desktop & Dock -> Windows -> "Drag windows to menu bar to fill screen"

[deleted]