Direction change when moving along the wall fixed