fix: repainting issue with buttons on status bar.