Fixed the black border on the viewer in proxy mode