Fix broken query recenter on map

Please review.