Fix displaying of edit field when image is empty