Tweaks to heightfield conversion.