The problem is you’re expecting consistency between elements that should not have consistent behavior for having completely different functions.
A line of text in a PDF, in a WYSIWYG editor, text in UI labels, and text in an address bar all have different roles and should be expected to behave differently, idk why you’re surprised for this “inconsistency”.