fix the bug that exit layer can’t end the SimpleAudioEngine