Fixed collisions detection with a given object