CollisionDetection: fixed wrong reference