fixed incorrect coloring of inlets after an unsuccessful connection (e.g. signal to a non-signal inlet)