Fixed missing m_windowManager.Initialized to g_application.IsHeadless checks