fixed bug where text in UI datagrid could not be copied to clipboard