Fix printing with new navbar.