fixed disabled capture button accepting clicks