Outline Error

Hi everyone, I have an outline like in the image below with horizontal lines at the top, how can I fix it without reducing thinkness? Do I need to do anything in the shader script?