Fix script editor not having titlebar when docked