Two ESC Buttons

I am having trouble replicating this consistently, but there was a period where unhiding my BTT touchbar (via the BTT button) and then closing it with the X would cause two escape buttons to appear. As I said, this isn't happening every time, though.

It seems that the 2 esc buttons might appear when re-selecting the BTT preferences window