putting psf image in the correct position