Thickness: mask (remove) overhang between thickness map and input image