Fix gamma correction with gamma==1