BACKPORT Fix HighConstrast pathbar and floating statusbar
Backport of !798 (merged)
The first commit is a straight cherry-pick, while the second is rewritten for the old pathbar style.
Backport of !798 (merged)
The first commit is a straight cherry-pick, while the second is rewritten for the old pathbar style.