Fixed display bug when status bar is hidden