Fix crash on load other scene when editing