Ensure active window isn't focused when screen is locked
Fixes bug 495325. If the screen is locked, but the lockscreen isn't ready for painting, pickFocus() returns the active window. This somehow leads to the meta key getting "stuck" if you lock the screen with Meta+L.