Corrected the logic of the bullet collision.