Annoying Studio Pop Up Bug

There’s this bug that happens whenever I open a plugin or stop testing the game where the workspace window pops out of studio and I cant use it nor put it back. It also messes up the other script windows. Please help.

image