Fix the edit mode did not display empty image issue.