Issue #5704: CCUIPreformance - Fixed a bug about customWidget