Added hit detection. It sorta works but stops short of the tile before the wall