Fix empty mask when entirely offscreen.