Collision detection partially working.