[Samples.WinRT] Fixed crashing on exit by pausing rendering when window visibility changes (this affects only SurfaceImageSource targets, issue #207).