Fixed error with visibility of the discrete/continuous control.