Masks set according to device orientation