Fix #14282. Don't fondle getPreventDefault if preventDefault exists.

A couple of items here. 

What about the formatting? It's kind of a complex conditional expression but the more straightforward `if` is pretty ugly, big and duplicated.

This passes our current defaultPrevented tests but it's kind of hard to test otherwise, so I haven't added any unit test for it.