Fix missed scoping in mapgen.
Don't mess with active item cache manually in map rotation code.