Set viewport.