Workaround for IE 11, it doesn't set defaultPrevented for custom events when preventDefault is called.

https://code.google.com/p/dart/issues/detail?id=20350