Issue #5704: CCUIPreformance - Fixed a bug about customWidget

CCUIPreformance - Fixed a bug about customWidget