The site bar on the prototype does not work correctly

On my prototype there are 190 layouts, on each there is a site bar (menu) which should give the chance to pass from any page to others, but when I open a category in which there are subcategories, everything stops working, namely the categories change among themselves. When I go to the detailed page the navigation changes strangely. And when I reload the prototype, all navigation items will be displayed correctly, but it is not possible to do every 10 screens.

What could be the problem? And how can this be fixed?