fix playback in loop after switchSource