You can't always set audio.currentTime, this fixes that problem.