Re: Better test for visible desktop, should be working on all platforms.