PGS and DVB subtitles: Fix missing subtitles after resizing the window.

When using the subpicture queue along with PGS and DVB subtitles, some subtitles were missing after the window was resized.