Made collision detection inclusive