fixed glitch hiding and showing route button when selecting multiple pins