PGS Subtitles: Fix a crash in some cases.

Mimic the change for DVB subtitles just for consistency.