ui: fix "Index" and "Site Map" don't work when editor toolbar not shown
ui: fix "Index" and "Site Map" don't work when editor toolbar not shown

(cherry picked from commit 9d75e02c55aa52658c3263631a06489ad9440522)

danny0838/firefox-scrapbook,danny0838/firefox-scrapbook