Catch incorrect calls of snapToGrid for lines.