Fixed input listening while out of focus

Will no longer trigger keyboard/mouse/controller input while window
doesn't have focus.
To regain focus though, you have to press the titlebar or alt-tab.