Fix for image offset issue.