Small refactoring of GrayscaleEffect for CTL-149