=========================== Minor fix: curfra could be set to 0 when tracking fails on first tracking frame.