handling of selected text in shapes improved