Fixed compilation error with GLES2-AnchorCenter branch.

* Correctness of change not verified.