Fixed physics bug related to friction and time steps.