Engine: workaround for OpenGL gfx driver