Track the composition range using the textarea selection and avoid re-sending trailing text that existed before composition started (notably in screenReaderMode). Fixes #5456