Made jumping and walking depend on current scale.