Navbar active menu

We are using Shopware 6.7.3.0

Some of the products are in several categories. In the Navbar when we are in category B and click on a product, the active menu is switching to category A because the product is in category A as well. Where could we adjust this behaviour (I mean with programming) so that the menu stays at category B when we were in that category previously?

That is not possible to my knowledge. Since the pages are all in cache, this part is also cashed.

But there is a plugin in the store.

Do you know the name of the plugin?