Fixes for keepinventory and restoreItems games