corrected typo in hasAlphaChannel()