Capsule trace initial overlap returns strange impact point sometimes

I’ve been doing tests with the built in “Capsule Trace” function. In the image below, the capsule shows the start of the trace and the red square shows the Impact Point. When starting the trace inside of the block, the impact point will sometimes show up on the corner of the block, which doesn’t really make sense. And it’s hard to tell exactly what triggers it. What could the problem be? Or how do I work around it?

(Note: I could never get this to happen when the trace ENDS inside of a block, only when beginning. Also, I could never get it to happen when using a sphere trace, only with capsule, but I could be wrong.)