Working around a regression in Chromium.
Hopefully this can be removed if issue 295829 is fixed.