Fix NaN handling / missing coordinate transform