Added glFlush command to complete the osg rendering to the FBO at every frame.