Fixed  visibility of irregular line junctions

The center of the buttons is made white on active/ duplicate to hide the
visibility of irregular line junctions