fix clicking on labels referring to the same target as the popup