Fixed crash on startup when using per-window menu-bars
Fixed crash on startup when using per-window menu-bars