ok, here is the cut of it....

In full screen mode WITH vsync the ball seems to always move at correct speed

In window mode WITH vsync it won't

Code:
deltaTime := timegettime - lastTime ;
lastTime := timegettime;