How to make projectile spot on to where my crosshair is pointing

I have two images that demonstrate it all.

First image the projectile is close to perfect to where my crosshair is pointing. But the second image the projectile has much bigger offset.

Is there a way to fix this?