Image path correction