Fixed #1615 correct mistakes of RenderTextureTest and SpriteTest for JSB