Keep on accidentally moving windows

In my web browser, I open click the top of the window to change tabs. I find myself multiple times a day having the tiling grey rectangle, as if I dragged the window to the edge of the screen which I didn’t intend to do, and I didn’t drag the screen. If I press ESC it doesn’t go away, but when I intentionally drag the window, ESC removes this.

I didn’t have this issue with Gnome 45 on Ubuntu 23.10, but am with Gnome 46 on Ubuntu 24.04

I hope it is related to this issue, so it is fixed at the same time: Cannot focus on other application when Nautilus shows transfer - #2 by skeller