Fix FireFox window blur compatibility issues