Buttons Not Visually Aligning With There Hit Boxes

Just figured out that the button itself is where it should be in the widget, the spline just gets drawn slightly above where you are actually pointing I used the code below, does anyone know why it is doing this?