perf($injector): remove invoke optimization that doesn't work

Closes #5388