The type of sockets is `-1` in some cases, resulting in a crash when accessing the `std_node_socket_colors` array.