Screen masks honor device resolution and orientation