Fixing typo of checking if statusbar is hidden