Correcting image location