terrain editor fixes