Documents with diagrams is recommended to use text box and overlay on top of the shape instead of adding text in the shape to prevent alignment issue.