Hiding GitHub Agents tab causes "More" menu to appear
When viewing a repository on GitHub, there is sometimes a tab for "Agents" in the navbar

Previously I hid this with `github.com##li:has(> [data-tab-item="agents"])`. However, at some point this filter started making an empty "More" menu appear in the top right corner.

The menu is empty when clicked on.

I can work around this issue by filtering on `github.com##[data-tab-item="agents"]` instead. However, this leaves a small amount of extra blank space between the Pull Requests and Discussions tabs. Similarly, hiding the "more" menu would cause issues since it's used to show buttons that don't fit on smaller screen sizes.
How can I hide the "Agents" tab without making the "More" menu appear and without leaving extra space?