Node drawing was adding some extra padding for each socket even when it isn't visible. This patch makes the padding conditional on whether the socket is visible and only when there is preceding items that require a spacer.  Pull Request: https://projects.blender.org/blender/blender/pulls/111981