Creating rectangular viewports