VisualTests Context: Fixed a bug where the screen shot didn't work when the windows was not active.
VisualTests Context: Fixed a bug where the screen shot didn't work when the windows was not active.

jhu-lcsr-forks/ogre,nezticle/ogre,vancepym/ogre,jhu-lcsr-forks/ogre,vancepym/ogre,largerussiangames/ogre,nezticle/ogre,vancepym/ogre,nezticle/ogre,largerussiangames/ogre,largerussiangames/ogre,jhu-lcsr-forks/ogre,jhu-lcsr-forks/ogre,largerussiangames/ogre,jhu-lcsr-forks/ogre,vancepym/ogre,vancepym/ogre,nezticle/ogre