This reverts commit 7e9e38faa5 as it causes screen corruption when moving imgui overlay dialogs around.
7e9e38faa5