This prevents crashes caused by the viewport evaluating the depsgraph while the import is still running.