Bug fixes and save image in RenderTexureTest.