Set the viewport