[WidgetControl]Fix callback memory freed bug