fix the problem of interaction context not update in editor