Fix typo that caused incorrect IB::copy_pixels of mixed type.