Fix bug in using sky/ccd coordinates for corr func tests