Fixed issue with broken export menu in IE9 compatibility mode. Closes #2335.