This is basically the same issue as https://www.drupal.org/node/807126 that was filed against the D6 branch of ImageField. That issue was closed as "fixed" by @quicksketch by pointing to the ImageField Tokens module:

Now with Tokens in core, it makes sense to take advantage of them and use them where possible.
PS: should support transliteration once in core (#904)
PR by @BWPanda: https://github.com/backdrop/backdrop/pull/3068
Recent comments
OMG thank u... you are amazing.
Hiding Blocks for Small Screens
I use a similar module (Tocbot) which uses the same library, but the implementation is different. This is what I use to target the block: @media (max-width: 47.99em) { .js-toc-block.is-...
Hiding Blocks for Small Screens
So the implication is that another module is causing the trouble. Now for the slow process of elimination... Sounds plausible. And good luck with digging...
How to troubleshoot interactive image cropping modules?