Fixed NaN bug

nan bug when press 'r' before pressing play sprint