Transition between `logo_small` and `mobile_logo` isn't smooth on some topics

Smooth
logo_same

Resized
logo_smaller

Edit: this only happens when Text size is set to largest in user preferences, it works as expected with Normal size.

I suspect the automatic logo size adjustment, which is based on text size, is not consistent between different logo types.