Fix a mode == 'RGBA'