Notification count doesn't decrease live

I’ve also noticed this happening on one of my self-hosted instances when opening a topic from the topic list for which I have an unread reply notification – the blue 1 should be removed, but isn’t until the notifications list is opened.

Edit: This also happened on Meta just now.

Another Edit: For some time now, I’ve neven seen this working, even here on Meta.