fix image problem in lightbox mode (#69)