Work around emulator GL ES 2.0 bug