fix order of smooth/offset - same bug as #2202 but for patterns