[Mac] Implemented HasFocus on TextEntryBackend