SDL: Render the overlay when using OpenGL with shaders

These changes allow the overlay to work when using OpenGL with shaders. This is useful to display the global game menu, and the debug console.