Fix bug in sliding-window
Fixes a bug in the handling of near_pos in sliding window. It returns the correct value for bambou dataset and significantly improves the results on the BM05 datasets (from 20 pix offset to 3-5 approx).
Should we bypass the use of estimated_cor_frm_motor
anyway ?