Solution found, add this
Controller->FlushPressedKeys();
after this
Controller->SetInputMode(FInputModeUIOnly());
Solution found, add this
Controller->FlushPressedKeys();
after this
Controller->SetInputMode(FInputModeUIOnly());