Fix for detail mesh height data generation

- if the new region based height data generation fails, use the old
flood fill based method