Fixing bug on grab distance

Fixing the bug where turning while grabbing a point from a distance
would relocate the point really far away from the robot.
When user advances a problem, dragMode is reset