[DF-1068] Fix heightmap loading from file