If the audio has stopped, transfer the AudioEngine state to Stopped too

This needs to be done to handle unpausable tracks correctly in the UI.