fixed rendering problems with nuiSurface for GL and GL2