Fixed broken glitch spawning