fixed rendertexture bug