Fixed physics bug