Add event handling to distortion GUI controls