[jaiguru] make bendpoint snap to grid (solve GEF issue)

Hi,

Here is the patch to make bendpoints snap to grid.

Regards,

Jaiguru