Fix "cannot handle pixel format 26 during make_transparent()" (part of #1545).