Fix injectItems

Closes #1064