What is going on is that the color is centered to the width of the
button, not just the image on the left side.... if drop-down is
introduced, the color bar moves to the right. That is the reason for
faulty centering. I'll leave you to your bug-fixing.