Fixed rendering of documentation widgets if no active item on page
Merge commit '7202e8be2622740c07273de7cc892ddbc6d2c455' into gh-pages

* commit '7202e8be2622740c07273de7cc892ddbc6d2c455':
  Fixed rendering of documentation widgets if no active item on page