Fixed appending the bar to the DOM

The old approach caused breaking of other similar tools like Tracy Debug Bar.