Drop NaN value when checking y_proj close to 0 in Trajectories.project()