It's pretty easy to see why this is happening. It's looking under [windows] in mirc.ini and seeing "scripts" and using that as the settings.

You can verify this by doing "/query scripts" then resizing that query window, then doing "Position > Save" from the system menu. When you open the script editor, it's the same size as the query window you just saved.