Fix bug in raycast collision.

Checked that this one triggers by shooting bullets in 1000x speed and
verified that they don't tunnel through objects.