Fix smart pasting when holding ctrl+v
Fix getSelectedText with empty selections