DefineButton preview fix