Hi,
The most important difference between the TabbBrowser sample application and your code is probably the event handlers as the TabbedBrowser sample application handled a number of WebView events. You can open MainWindow.xaml.cs and look for DetachPage/AttachPage function. You can comment out the code in these two functions to see if the problem occurs. If the problem occurs, then you can try to uncomment code in these two functions line by line to see if you can find which event triggers the difference. Usually as soon as you find out what triggered it the issue would be obvious. If this is the issue, you can add the corresponding event handler in your code.
The second important difference between TabbedBrowser sample application and your application is if you run TabbedBrowser sample application directly as is from the installation folder, it would use eowp.exe instead of rundll32.exe. See here for more information about eowp.exe:
https://www.essentialobjects.com/doc/common/eowpIf this is the issue, the easiest solution is simply copy eowp.exe into the same directory as your application.
If none of the above works, then you can PM us a test Url and we will debug it here and see what we can find.
Thanks!