Fixed bug with playback ending early.