Fix graphics context in GL4