fix image wrapper when loaded