Fix bug introduced when teraforming was improved