Fix to jsPlumb connector rendering on first load