removed device orientation, added viewport for *masked* clips