Fixed a bug where destroying an object in onCollide could cause a crash for fast moving objects