Fixing issue with masks overflowing the header on mobile devices.