fixes ingredients from spawning again when changing tab