Modify the algorithm of the collision between the paddle and the ball