hatch: fixed hatch bug with spline, bug#402