deactivate boxdrawer when switching to other controls