Fix change event triggered twice.