Fix gamma correction levels not cycling properly