fix image transparency problem