Fixed messed up OpenGL state, introduced by changes to SDL on-screen keyboard