Bugfix from THREE.DynamicTerrainMap