HeightmapLoader fixes