fixed flickering!

rather than calling glFlush each time a button is rendered, I called it
after all buttons were rendered in renderScene