Modify collision detection