fix the way input/output bubbles update when there are multiple of the same element on the page