uix: fix switch and checkbox for dpi