Add working collision for defective pixels in CollisionDetector