Fixed collision detection, now I can sleep.