Rewrote `SmartInfoWindow::maybePanMap`.