AntiCollision TypeScript port of collision detection bug by johnBuffer. Original code: https://github.com/johnBuffer/NoCol