Line over line priority

I am taking the “just draw your non-zero zeroline yourself” approach as defined at How to set non-zero zeroline in Plotly - Stack Overflow

However even when I draw my zeroline before my data line, the zero line overlaps the data line. How is line overlap established and what do I need to do to have a drawn line be in the background of other lines?