Fix itemframe break.
Merge pull request #1060 from Howaner/Inventory

Fix itemframe break.