Clear cached grid coordinates when mapping is changed.