This can be resolved if you change the grid based slots to the other type (default without grid). This can be changed in the inventory widget if I recall correctly, and or the corresponding InventoryManager function to create the inventory. If you change the grid slot type inside the Inventory, the InventoryManager will produce an error, pointing you to the function which requires the edit.