some fixes to character movement, spherecast