Script editor opening in wrong window

The script editor always snaps to the Output window instead of the game viewport upon opening a script. This is extremely inconvenient to reposition each time and disrupts development workflow. This issue persist after restarting Studio and I’m not aware of any steps to reproduce this problem.

Script editor should open in big main viewport