Haxe all sounds are getting played in khm/kha environment

Hi,
In KHA/KHM Phaser environment I was adding the visibility check for the project as unity ads platform had encountered an issue. So I want to play one background music file (music.mp3). When I add a visibilitychange check to stop/resume the music, all the sounds in AudioRes start playing by themselves when the tab becomes visible again.
What I tried:

  • Used System.notifyOnPause / System.notifyOnResume.

  • Added window.addEventListener(“visibilitychange”, …).

  • Changed khafile.js to load only music.mp3.

  • Set pauseOnBlur = false on the sound manager.

Still, every sound in AudioRes plays after focus/visibility changes, even though I only play the BGM.
My questions are:

  1. Why does AudioRes make all sounds resume?

  2. Is there a way to stop this so only the BGM reacts to visibility?

Thanks!