Fix blocking of input and button