Cant cast to nav mesh

I am working with a nav mesh. I line trace, cast the location it gets to a nav mesh using ProjectPointToNavigation then set the location of a static mesh to the location I get on the nav mesh. In some places it works flawlessly, but when the line trace goes to some specific locations, the static mesh teleports back to it’s default position. It may be worth noting that the default position for the static mesh is the same as the center position of the nav mesh. have not scripted it to do this. I am doing this entirely in blueprint. Does anyone know why this may be happening and how to fix it? Thanks. Please tell me if you need more info.