Line trace go through wall angles

If i get close to the angle it does the same thing
image

BUT if i go a litle bit back and try to do this it blocks the bullet