WPF TextBox Caret Disappearing
The problem seems to be common (1, 2) with the scale transformation, which is being applied by the behavior you mentioned in comments.
mainElement.LayoutTransform = scaleTransform;
And from MSDN, there's no
effective solution for this issue.
So, if you want to support multi-resolution, I would recommend ViewBox; simple, and do the job.