New idea for box-sphere collisions. Less glitchy