I want to note that I am using Unreal Engine 5, and that if this is a UE5 issue and not a UE4 issue, to simply let me know.
When I click, the blue sphere appears in some place other then my in front of my camera. As shown in my code, I added a debug line in the tick function so that I can see where the script things the player is looking. Here are some pictures to better explain the issue. (The first 2 pictures show where the blue sphere in comparison to where the player camera is facing and the 3rd picture is an attempt to better showcase the map)