Fix download archive menu for tree view.

This fixes the issue of the menu going outside of the main `container`.
Merge pull request #6008 from jhollingsworth/fix/zip-archive-ui

Fix download archive menu for tree view.