Fix ICC profile handling of RGBA images

With thanks to the lovely image at this link:

http://www.renders-graphiques.fr/galerie/Objets-65/Ballon-Multicolore-B-116730.htm

...for giving me something to test.
Fix careless viewport error for zoomed-out 32bpp images

Forgot to uncomment a rather critical line of code, lol....