Added collision detection at convex points