Fix support for GLES