handle bounding boxes across the international dateline