Fixed dimlights focus on menu-click.

Essentially we see if it is 0 instead of if it's not the mainwindow. 0 will only happen if focus is out of our programs jurisdiction--essentially what we want.