Clip thicker lines further beyond the edge of the tile.

Still doesn't help with short lines near the boundary, though.