OptFlow: initialisation fix

Thanks to DongFang (aka Soren) for finding the issue and the solution