Fixed a crash when two exits generate at exactly the same point