Fixes a bug where panning and sector diplacements were interfering with eachother.