small bugfix concerning the image in popups