Fixed problem with checkbutton in modifier case