Android TV - If Chromecast already active in background unable to cast

I have an issue with my Sony X900H android tv.

If chromecast is active in background I can’t switch to it. So if I cast a dashboard, press back/open another app, if I cast again nothing happens. (the media shell probably updates in the background, but I can’t bring focus to it)

Is there a adb command that I can run?
For example: here the Activity in foreground is com.cony.dtv.tvx (just direct input from tv, but could be any other app like Netflix), and TV cant is showing that its already casting a dashboard.

I ran a sys dump adb command and the media shell does show up as running in background. Running adb command to open the chromecast activity didnt seem to work either.

Theres a workaround where I send a ADB command to kill the mediaShell activity, but then I have to wait 7 seconds before I am able to cast again (I guess the chromecast starting up again), but its annoying to have to wait that long for a cast to happen (in addition to the 5-6 seconds it already takes to connect to Lovelace dashboard).

I’ve also tried

adb shell am start -n com.google.android.apps.mediashell/org.chromium.chromecast.shell.CastWebContentsActivity -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000

and got response:

adb_response: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.google.android.apps.mediashell/org.chromium.chromecast.shell.CastWebContentsActivity }
Warning: Activity not started, its current task has been brought to the front

But despite what the warning says, it just killed my chomecast instance.

Hi, same problem here… did you manage to find a solution?