Fix IE10 event listener quirk