Fixed a bug with false positives in collision