When dragging nodes around you can quite often see their parts and contents jiggling around.
If the following example you can see the round sockets moving left and right in relation to the frame. The Title, content text, and even the show/hide icon seem to bounce up and down and left and right:
{F10191345}
With the following close node you will see all the input sockets seemingly moving around randomly:
{F10191347}
With this type of issue we quite often find that it is the contents of the container that are not aligning correctly, but in this case it is the container that is wrong. This is because the drawing of the node background and outline will properly handle float values, while the layout items can only use integers. Therefore we must truncate the positions and sizes of the container. Doing so almost all the jiggling is gone. Of course there might be other parts and pieces that still jiggle and require further work, but this is the vast majority of it.
Following is that same open node captured above. The title, contents, icon, and the sockets all keep positions that are static in relation to the container:
{F10191353}
And all the random jiggling of the closed node is also fixed:
{F10191355}