Improve reliability of dismissing Chrome Frame prompt. (#479)