fix toggling map position on loc search