How to bypass rendering scene

I’m working on a project where we need very high frame rate with complex world at some moment.
When a button down, I want to bypass rendering world and just draw the UI.

I tried
FViewport::SetGameRenderingEnabled(false);
And it works perfectly in Editor.

But in Standalone Mode
Ghost image appears on screen when moving widgets.

How can I fix it? or Is there any other way to bypass the rendering process?