fixed #2506: Optimize performance for ContolButton, ScrollView and TableView etc

Optimize performance for ContolButton, ScrollView and TableView etc