DF-2060. Fix heightmap saving