Fix image path issues.