correct image display bug in modelwindow