Fix the issue that the widget_id of the first widget intance bleeds into the event handlers of the second widget instance