Fix status bar problems