Shader applied to tilemap has weird offsets on each tile

I’m making a shader that I’m applying to a tilemap, I plugged a position node into the offset of a tiling and UVs node.
As you can see above it almost works but the tiles have a weird offset, am I getting the position wrong? I can use view, world, and absolute world settings for the position node with the same problem. If you need any more information I will try to be as available as I can.