ecere/gfx/drivers/OpenGL: Fixed capabilities modified by mesh actions while rendering