Fix Bug for Saving OpenGL screenshots