Fixed UI generator widget init problem

Fixed an initialization problem where the option config member of
certain UI generator classes wasn't being properly initializing,
resulting in an option being applied for all widget of a certain type.