Fix IE 10 input issues, possibly addressing the last part of #18