Added in a rudimentary manual redraw of the graph by running the drawGraph function a second time in an attempt to fix the Firefox bug.