Why doesn't snap to grid work properly?

Also just right-clicking vertex will also snap it to grid it will also move pivot point to that vertex as well to make it easier to move when zoomed in.
pivot point will return to normal position once deselected.