refs #13945: civicrm_navblock: fixes for civicrm menu in drupal pages (copied from the original civicrm_navblock).