Shouldn't this also be removed in endPan?