Fixed the image properties bug