RWToolbarItemCurrent only available in HTML pages but not in iFrame pages

I’m using the theme “Realmac Software '06” on RapidWeaver 5.4.

Unfortunately, the navigation toolbar behaves differently between HTML pages and iFrame pages.

Editing the Theme.plist, I see that the key RWToolbarItemCurrent properly handles the highlighting of the current page, because it introduces the attribute id=“current” for the item currently displayed.

But when the user clicks on a link which displays in an iFrame page, the navigation toolbar in surrounding frame looses the attribute id=“current”. In this way, I must re-add it manually in every generated iFrame page every time that I export a project.

It seems to me that the template used to generate the HTML pages is different from the one used for the iFrame pages.

Any hint?

Thank you in advance