Misc fixes for the activity bar.