correcting image position