Bug with setting offsets at boundary of material mesh