Fix for #81396: the window is no longer aligned when created, so its centered and thus the titlebar is always shown.