Richard Ranft's onCollision details fix