Recreate the controls only if hideFileInput is true (related to #3).