Fix input event in IE