button-block fix for input, closes #340