fix collision to overlap detection