Attempt to fix a bug that I can't reproduce in the Pan Delegate.