OS X: Fix background jobs stealing input focus if they require the use of hidden browser