add setcorner to viewport