Fixed a bug in collision checking robot against a group.