Bug fix snapToGrid and snapToPoints for lines and circles.