Fixed bugs in spatial hashing + collision ignoring.