Fixed image display bug