The Script Window is not docking correctly.. like its docking on toolbox

Hey uh, does anybody know how to fix this? My script window is docking on the toolbox, idk how to fix it.
Can someone help me?

You can drag it back in the viewport.