Fixes internal storage on ground

Fixes not being able to remove items from internal storage when the
master item is on the ground.
Merge pull request #4962 from mwerezak/internal-storage-ground-fix

Internal storage fix