Pan map when dragging to pad. Fixes #534