fix image bounding box bug