Fixed a bug with projectiles not snapping to targets