set new point instead of mouse pos for the dash line