Stop mouseDown event from propagating.

Closes #2459
Remove semicolons
Use proper variable name
Merge pull request #2522 from atom/cj-fix-react-double-click-bug

Fix unresponsive text input after double-clicking