Tweaking collision detection