Fix DOM node inserted callback in option handler