Fix a bug where connections of a node wouldn’t be serialised correctly
if it never have been used to render anything