Fixed bugs when rendering image list