Well, after lot of tries I found it...
I added the call to global2local function:
Now, both Y's values uses the same 75px offset.
I added the call to global2local function:
Code:
find_vertex(Vs, X, Y, {_,_,{_,_,W,H}}=Trans) ->
lists:map(fun(#vl{v=V}) ->
{X0,Y0} = project_vertex(V, Trans),
{Xs,Ys} = Pos = wings_wm:global2local(X0,Y0), <<==
Dx = X-Xs,
Dy = Y-Ys,
{Dx*Dx+Dy*Dy,Pos,V}
end, Vs).