add alpha channel setting on creating thumbnail

if the png or gif is using alpha channel, it is keeping $settings['alpha'] sets true.