[DF-1237] Fixed setting of debug flags from SceneGraph menu