Fix text based clipboard copy of selected entities in viewer