Fix for detail mesh height data generation