Fixed bug in target-collision management