Fix a bug involving calls to updateOptions() while panning.