Thread:Extension talk:Header Tabs/HeaderTabs not working properly with Semantic Forms Preview

I have a form with two tabs defined in it. These are also present in the corresponding template.

When creating a page with the form it looks fine. I see two tabs with the correct fields in them. However, if I click the Preview button the preview does not display right. At the top I just see the first tab and its fields. Then below that I then get both tabs with their fields.

If I save the page then it looks right with two tabs. So it is just the preview that is not working right.

I am running MW 1.21.2, Semantic Forms 2.6 and Header Tabs version 0.9.3.