fixing gles map drawing