fixed NavbarRenderer.php not accepting a menu object