update a couple of getOffset refs to use the method from the jsPlumbAdapter