fix floating-bar display