Fix an array bounds error in frame correlation.