Fixed a collision bug.