I think I found a work around.
I set the grid to 10 px maximun space and 10 subdivisions.
Set snap to grid.
Now everything seems to work fine