Generic Camera local_file only loads after switching views

Hi,

i am trying to display a picture (.png) in my HomeAssistant frontend. I’m using classic HomeAssitant (not hass.io) and I am still using the old ui (not lovelace).

My config looks like:

camera:
  - platform: local_file
  name: Vacuum Map
  file_path: /absolutePathTo/map.png

I want to show that picture in a specific view. It basically works but the pic does not show when I load up the UI for the first time. It only shows, when I switch to another view and then back to the Vacuum view (as in the attached Screenshot).

Can somebody explain that behavior and how to fix it? I assume the switching views triggers some kind of event that causes the generic camera component to query it’s local file?

Thanks for help