Fixed playback bug (infinite loop)