ofGLProgrammableRenderer: fix for crash in desktop GL introduced by optimizations some commits ago