Fix gap collisions.