Density contour doesn't show the correct hover value in combination with color (Plotly's own example)

Looking at their example:

import plotly.express as px
df = px.data.tips()

fig = px.density_contour(df, x="total_bill", y="tip", color="smoker")
fig.show()

It shows yes even when I hover on no:

And when I disable yes it will show no:

Is there a method to fix it without disabling it from the legend?