Update caret shape in ParagraphGraphic.layoutChildren.