Snap to grid not snapping to grid

If the pivot is in the center of the cube, it could be snapping to this point