fix image visibility