Repair image sequences by duplicating frames