XWIKI-10254: Transform the applications bar to a panel.

 * Fix bug introduced in the last commit.