Fix crash on load other scene when editing

Fix crash on load other scene when editing