Fixed the PlayerVelocity with ray casting