Fix random BlockState/inventory-related errors