glFlush() shouldn't be called just before swapBuffers() in the JOGL renderer