Fixed nav bar offset calculation when status bar is hidden