Fix jsGraph bug with offset mouse coords