You are not taking your motion into account when predicting the place where the bullet should be.
There was an old post on the forum a while back that tackled this problem, can’t seem to find it though so I only have a screenshot of it