Invalidate lastTakenItem on gamemode switch too.