Fixed a grapher crash in IE