You could use a bandaid to seal the top of the mask across the bridge of your nose. This will prevent air from escaping up and fogging up your glasses.