Hotfix bug in CollisionDetection.