Resolved issue with handling change events with paste