Bug fix for rgb2bilevelDither() for transparent pixels