Prevent call to IoC.GetInstance when using Action.Target in design mode