fix for checking gripper collision