How to align Crosshair to Gun in a Topdown Shooter

I need some advice and help. I am creating a Topdown Shooter and I would like to align the crosshairs with the gun. I have found a work around for it that I will show in two screenshots. I am also doing a line trace to activate a popup widget. Because the impact point is activated by the mouse cursor and not the widget. The offset that I implemented is giving me a slight bug when I line trace the widget pops up from the mouse not the crosshair. The widget is also a widget component not a widget. I could not capture the mouse in my screenshots but the mouse is 160cm below the widget component. My goal is to learn how align the mouse and crosshair to the gun height not just the widget blueprint. Any help would be greatly appreciated.

So here is my code in C++:

This is what my offset looks like:

This is my aim without a line trace:

With the line trace: