bug fix with ground raycast (infinite jump with right walls)