I recently encountered this issue, and was curious if anyone can provide insight.
When placing a shape, then double-clicking the shape to enter text within the shape, the text entry cursor initially appears outside of the shape. If I continue entering text and click outside of the shape to complete my entry, the text appears inside of the shape. If I double-click again to edit the text, the entry field appears outside of the shape once again.
However, if I double-click to edit, then click and drag the shape while in “text edit mode” the text with the blinking cursor appears within the shape and I can proceed to edit text within the shape, as I would typically expect.
Edit: At certain zoom levels and text size combinations, the text is not visible at all. It was only until I zoomed in while capturing these photos that I noticed the text was displaced outside of the shape.