Corrected bug in vglReleaseImage