Fix hiding upload button.