Create textItem with frame. After creating textItem, text is selected