2026.4 appear to break template

Since installing the latest update, any references to my media player picture entity appears broken. This includes but not exclusive to card mod

background: url( ‘{{ state_attr(‘media_player.currently_playing_mass_music’, “entity_picture”) }}’ ) center no-repeat;

The only way i could get it to work is to create an image sensor but this doesn’t update quick enough when I change tracks. Any help os appreciated.