Keep pristine state when attached to input tag