How to prevent triggering the movement of Pawn when customizing input events

I bind a ctrl+s key event to exec Save() in MyPlayerController’s InputComponent,but when i press Ctrl+S, the defaultpawn would move even when i set bConsumeInput = true,how could i avoid this. Thanks for any suggestions

void AMyPlayerController::SetupInputComponent()
{
	Super::SetupInputComponent();

	FInputActionKeyMapping saveEnvJson("SaveEnvJson", EKeys::S,false,true,false,false);
	UPlayerInput::AddEngineDefinedActionMapping(saveEnvJson);
	FInputActionBinding saveEnvJsonBind("SaveEnvJson", EInputEvent::IE_Pressed);
	saveEnvJsonBind.bConsumeInput = true;
	saveEnvJsonBind.ActionDelegate.GetDelegateForManualSet().BindUObject(this, &AMyPlayerController::SaveEnvJsonConfig);
	InputComponent->AddActionBinding(saveEnvJsonBind);
}