Probably Classic UI ?
I have a not yet merged PR that use the code from Basic UI rather than the current code from Classic UI to set the state in icon path. If you have no such log when using Basic UI, this change should avoid your problem with Classic UI too.
I just tested and it seems as if it really only happens in Classic UI, not in Basis UI.
What can I do to avoid this - or do I have to wait for the merged PR?