prevent map panning on dashed border