Check that the beforeunload event is not triggered when exporting the chart. If it has, it will log an error to the console