Frontend: some fixes for disposing in SoundInstance