Fixed terrain delete glitch