Hover on go.Scatter not working when Scatter is one of several Scatter plots on the same graph

I just found out that using go.Figure(go.Scatter([…], fill=‘toself’, hoveron=‘fills’) works fine when I only have one scatter plot on a graph, but when I plot several scatter plots (lines), and add one filled shape (with fig.add_trace(go.Scatter())), the hover on the filled shape just works on tiny places on the shape, not the overall shape. I tried to add the shape last hoping it would somehow be placed “in front” on the other plots, but it still does not work. Is this a bug?