Fix #1278 Icon widget's onclick property broken