7124528: [macosx] Selection is not cleared properly in text component

Reviewed-by: swingler
1 file changed