Fixing a bug with opacity channel