Do not call preventDefault on right and middle-click/Ctrl+click.

This should fix the middle click popup blocker issue on Firefox.
Merge pull request #2118 from vikhyat/firefox-middle-click

Fix Firefox middle-click popup blocker issue