Fixed setValue bug

Since `TextBox` store `rawValue` as a property, `set('rawValue', xxx)`
may not work as expected, `setProperties` will filter properties with
the same value