added glDraw drawGrid color check