Fix for edit mode set failing during import into empty scene