bug fix
OpenGL render (not finished)