fix status bar display bug when no view is active