Fix .material for dLocations.