Suppressing legend messes Y2 axis

Hello,

I am using Plotly+Shiny to quicly explore some datasets.
I tried suppressing the legend as it takes unnecessary space and I don’t need it.
To my surprises, this messes up the scondary Y axis. The title now overlaps the ticks and the scale is all wrong.

Axis with legend

axis%20with%20legend

The same after applying showlegend=FALSE

axis%20without%20legend

This looks like a bug. Any comment or solution ?

Thanks