fix when webbrowser was in a panorama control