I think I fixed this bug. However, there is another "smaller" bug I need to fix. For some reason, if you try to pick up a chest, then open the chest and take all the items out. Then close it, the chest gets picked up?? Super weird edge case. I'll resolve eventually, but atleast it's not deleting items anymore!