Hatches offset problem.

hatches are not aligned to the inner boundaries of the polyline. Is there a way around this issue?