fix image data render bug