circuit editor group-within-a-group crash fix

Fixed an unhandled exception when a pin on a group-within-a-group is
connected to another circuit element.