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.

vbudovski/ogre,vbudovski/ogre,vbudovski/ogre,vbudovski/ogre,vbudovski/ogre