Since I updated my MacBook Pro with TouchBar to Mojave I am having the same issue which is really annoying. Looks like it happens with the new dark mode and I can see it when I modify the brightness through the TouchBar (also while I'm working it pops up), I took a picture of it because for some reason screenshots do not record this event. It wasn't happening before the update so I don't think it has to be with Hardware issues.