Added viewport parameters.