Fix text input error in new gamma correction tool