Prevent showing out-of-date images in ImageView

Signed-off-by: Wu Xudong <tikiet@gmail.com>