Fixing an issue with alpha channels on pixels