Having scale line widths on can cause this problem even when snap to grid is enabled.