Error correction for both objects colliding