I don't really understand what you're reporting exactly. The navigation structure is different between these two, so a different HTML structure is needed. The latter is how the "link" is displayed when the entire thing opens a single menu.
You will need to handle these HTML differences with whatever customizations you're doing.