Fix Panning broken on Internet Explorer #26