I resolved the issue with the line by rearranging the code and having the axes drawn after the lines and the circle.