Workaround for firefox button problem