add window support
temp
Merge branch 'scene_predominate' into layer_predominate
fix controllerDirector when current is null
加入创建Controller时，调用init函数
temp