when you use the snapping function in the node editors like in the shader editor for maintaining a precise and ordered node graph, it happen that when it comes to use the frame for making things more organized it occur an hurting behavior that snap the nodes off from the grid and if you move one or add another one to the graph it is off because of this frame behavior.
this is do to the frame that doesn’t snap well on the grid when it came applied to the nodes so when you move it alone it get snapped to the grid and push off from the grid the nodes it contain.
this is what i meant.