We need to adapt StyledText DPI change handler to use better APIs for scaling caret instead of win32 static method.