Fix CommandInvocationContext ctor bug