cc/scene_mng: fixed some bugs