Fixed the multiple collision problem.

    From now on which block gets hit first by the ball is calculated
correctly by rewinding step by step the movement of the ball and see
which one of the blocks(in case there are many) the ball collides
first with.