Fix picture display bug