[SPM] Fix inventories when turning off mode in another dimension