Fix OSD to work with videos of unknown length.