Fix status bar hiding and showing