Just kidding, now collision detection is correct.