Fixed panning
Reverted changes to mxPanningHandler