Camera mesh offset

Hi all. I am using a simple code to make the camera follow the actor. But for some reason there is a strong displacement of the camera mesh from its “true” coordinates. Why is this happening?


code

It was necessary to set the camera component as an target