Fix home page's navbar cannot show right menu item correctly issue.