Added hit detection on walls