[ALLI-1824] Ndl: fixed the viewport definition (second attempt).