Fix bugs related to rendering items in a slot that have bad data

- This accommodates what was in the legacy block picker for items that cause exceptions when putting them into an inventory slot.  
- EntityRef.copy() did not ever return the copy it just created.
- The InventoryGrid now resizes back down when the inventory shrinks from previous.