Moved DeactivateActCtx to BuildImportTable