BUG: Handle NaNs in ScatterPlot.map_index.