Fixed a bug where selected text would not be deselected and edit menu would not be dismissed when tapped elsewhere, using JSKeyboardDismissalModeTap.