Retain RuntimeInjections in invocation when building definitions (crash fixed)