Fixed an exception on destroy() if the element isn't an <input>