MusicPlayer: Fixed playback problems on some platforms