Cleared up the ViewerGL render function and don't draw the black
rectangles when rendering the image