CriticalFix for TTML timed text, was crashing browser in infinite loop