Fix display image bug.