Fix #35624: rendering to a new window, then switching scene in the main window,
would still continue to render the previous scene in the render window on F12.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57229 954f8c5b-7b00-dc11-b283-0030488c597c