[Rendering] Fixed gl context switching issue between webgl and cairo-gles. #2