Fix ui glitch in Bootstrap publisher

Fixes #4813 and #4846