Fix input focus issues

This simply fixes the Render to Main Window / Background Input issue. I haven't looked at TAS input, the input OSD, nor radius=100 bugs yet.
Why? One checks for the Renderer window, one checks for the UI or any dialogs. It's only in the Render to Main Window case that the Renderer is part of the UI.