The image (the world-window) is 1000 pixels wide and 771 pixels high, but the viewport is 300 pixels wide and 600 pixels high, so the viewport has a different aspect ratio.