Fix IE compat issues with graphs