modify Clipping to RenderTexture Test to get correct behavior

fix for issue #8875