#29801 - Fix for widget embedding code.