Fixed small bug with gl_wrappers.