Fix images messed up issue.