fixed #2481 add a clearRect function to cc.RenderTexture